package com.rbs.dao;

import com.rbs.entity.Brand;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface BrandDao {
    List<Brand> selectAll();
    Brand selectById(int id);
    Brand selectByIdAndName(@Param("id") int id,@Param("name") String name);
    void insertBrand(Brand brand);
    void deleteById(int id);
    void updateBrand(Brand brand);
    void insertBrand1(@Param("a") int id,@Param("b") String name);

}
